package com.wanshu.service;

import com.wanshu.entity.User;
import com.wanshu.entity.vo.UserInfo;

import java.io.IOException;
import java.util.List;

public interface UserService {
    public List<User> findAll() throws IOException;

    User login(User user);

    public UserInfo getUserInfo(Integer id);

    public Integer insert(User user);

    public Integer update(User user);

    public Integer delete(Integer id);

    Boolean uploadHeadImage(User user);

    void updateUserAvatar(String filePath);
}
